class Documents::Show::AlbumsController < ApplicationController
  def index
    @valleyers = Valleyer.paginate :conditions => ["albums_count != ?", 0],
      :page => params[:album_page_number], :per_page => 5
  end

  def destroy
    @album = Album.find params[:id]
    @album.destroy
    @valleyer = current_valleyer
  end

  def authorize

  end
end
